
const getUserRoute = () => {
    const ctx = require.context(
        "./user",
        false,
        /\.js$/
    );
    let routes = []
    ctx.keys().forEach(path => {
        routes = routes.concat(
            ctx(path).default
        );
    });
    return routes
}

export default {
    getUserRoute,
}
